<?php

use support\command\workerman\event\Events;

return [
    'gateway'  => [
        'ip'                   => '0.0.0.0',
        'port'                 => 7676,
        'name'                 => 'Gateway',
        'count'                => 4,
        'lanIp'                => '127.0.0.1',
        'startPort'            => 2300,
        'pingInterval'         => 3,
        'pingNotResponseLimit' => 0,
        'registerAddress' => '127.0.0.1',
        'pingData'             => '{"event":"ping"}',
    ],
    'business' => [
        'name'         => 'BusinessWorker',
        'count'        => 1,
        'registerAddress' => '127.0.0.1',
        'eventHandler' => Events::class,
    ],
    'register' => [
        'ip'   => '0.0.0.0',
        'port' => 1236,
    ],
];
